package com.gouda.core.service.uesCity;

import com.gouda.core.dto.useCity.UseDistrictDto;
import com.gouda.core.enums.GeneralStateEnum;

import java.util.List;

/**
 * Created by souu on 15/12/5.
 */
public interface UseDistrictService {
    /**
     * 根据城市ID获得所属区域
     *
     * @param cityId
     * @return
     */
    List<UseDistrictDto> getUseDistrictByCity(long cityId);


    void createUseDistrict(long cityId, String districtName, String lon, String lat);


    void updateUseDistrict(long id, long cityId, String districtName, String lon, String lat, GeneralStateEnum stateEnum);
}
